﻿using System;
using System.Windows.Forms;
using PPI.Client.Utils;


namespace PPI
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            try
            {
                SetupHelper.Setup();
                if (Preloader.StartVerified())
                {
                    SetupHelper.Setup();
                    Application.EnableVisualStyles();
                    Application.SetCompatibleTextRenderingDefault(false);
                    Application.Run(new frmMain());
                }
            }
            catch (Exception ex)
            {
                throw;
            }
        }
    }
}
